/*
 * @Description: 行按钮配置
 * @Author: HuiSir<https://gitee.com/huisir001>
 * @Date: 2025-08-01 10:32:26
 * @LastEditTime: 2025-08-01 11:41:38
 */
import { defineRowBtnsOptions } from "@/components/TablePage/predefined";
import { delLoginReqLogs } from "@/api/monitor/index";
import useDetailOption from "./useDetailOption";

export default defineRowBtnsOptions(() => ({
  delRequest: delLoginReqLogs,
  detailOptions: useDetailOption(),
  detailDialogTitle: "在线用户详情",
  getParamsBeforeDelete(row) {
    return row.id;
  },
}));
